import java.util.Scanner;

public class Question03 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入星期:");
        int week = scanner.nextInt();
        /*if (week >= 1 && week <= 7){
            System.out.println("星期:"+week);
        }else{
            System.out.println("数据异常");
        }
        */
        if (week == 1) {
            System.out.println("星期一");
        }
        if (week == 2) {
            System.out.println("星期二");
        }
        if (week == 3) {
            System.out.println("星期三");
        }
        if (week == 4) {
            System.out.println("星期四");
        }
        if (week == 5) {
            System.out.println("星期五");
        }
        if (week == 6) {
            System.out.println("星期六");
        }
        if (week == 7) {
            System.out.println("星期天");
        }
        if (week < 1 || week > 7) {
            System.out.println("数据异常");
        }

    }
}


